<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>添加盘点单</title>
		<link rel="stylesheet" type="text/css" href="../../css/style.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/list.css"/>
	</head>
	<body>
		<!-- 蓝色背景区域 -->
		<div class="wrap">
			<!-- 白色可用区域 -->
			<div class="canuse">
				<!------ 位置 ------>
	            <p class="contentText local"><span>位置：库存盘点管理 > 添加盘点单详情</span></p>
	            
            	<!-- 列表区 -->
	            <div class="show_list">
                	<div class="title_operate">
                    	<h4 class="sel_title"><img src="../../img/list/brand1.png" /><span>盘点表</span></h4>
                	</div>
                	<div class="list_area">
                        <!-- 信息列表区 -->
                        <div class="info_area">
                            <table class="tablelist" border="1" cellspacing="0" cellpadding="0">
                                <tbody>
                                    <tr class="menuText list_head">
                                        <th class="">盘点表名称</th>
                                    </tr>
                                </tbody>
                                <tbody class="tablelist">
                                    <tr class="listTableText list_list">
                                        <td>2018年5月份盘点表</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
	            
	            <!-- 列表区 -->
	            <div class="show_list">
                	<div class="title_operate">
                    	<h4 class="sel_title"><img src="../../img/list/brand1.png" /><span>盘点列表</span></h4>
                		
                        <!-- 操作类型区 -->
                        <div class="operate_area">
                            <a href="" class="bgd_blue_two img_hand">执行</a> 
                            <a href="" class="bgd_blue_two img_hand">重置</a> 
                            <a href="" class="bgd_blue_two img_hand">打印</a> 
                            <a href="checkplanList.html" class="bgd_white_two img_hand">返回</a> 
                        </div>
                	</div>
                	<div class="list_area">
                        <!-- 信息列表区 -->
                        <div class="info_area twocode">
                            <table class="tablelist" border="1" cellspacing="0" cellpadding="0">
                                <tbody>
                                    <tr class="menuText list_head">
                                        <th class="">物料编码</th>
                                        <th class="">物料名称</th>
                                        <th class="">物料类型</th>
                                        <th class="">物料规格</th>
                                        <th class="">物料型号/牌号/材料</th>
                                        <th class="">批次号</th>
                                        <th class="">入库日期</th>
                                        <th class="">库位</th>
                                        <th class="">单位</th>
                                        <th class="">账面数量</th>
                                        <th class="">盘查数量</th>
                                        <th class="">盘查盈亏</th>
                                        <th class="">差异原因</th>
                                    </tr>
                                </tbody>
                                <tbody class="tablelist">
                                    <tr class="listTableText list_list">
                                        <td>210010199</td>
                                        <td>电阻</td>
                                        <td>电阻1</td>
                                        <td>GG321</td>
                                        <td>电阻2</td>
                                        <td>PCH001</td>
                                        <td>2018-04-16</td>
                                        <td>99-12</td>
                                        <td>个</td>
                                        <td>380</td>
                                        <td><input type="number" name="" id="" value="" /></td>
                                        <td>-</td>
                                        <td><input type="text" name="" id="" value="" /></td>
                                    </tr>
                                    <tr class="listTableText list_list">
                                        <td>210010199</td>
                                        <td>电阻</td>
                                        <td>电阻1</td>
                                        <td>GG321</td>
                                        <td>电阻2</td>
                                        <td>PCH001</td>
                                        <td>2018-04-16</td>
                                        <td>99-12</td>
                                        <td>个</td>
                                        <td>380</td>
                                        <td><input type="number" name="" id="" value="" /></td>
                                        <td>-</td>
                                        <td><input type="text" name="" id="" value="" /></td>
                                    </tr>
                                    <tr class="listTableText list_list">
                                        <td>210010199</td>
                                        <td>电阻</td>
                                        <td>电阻1</td>
                                        <td>GG321</td>
                                        <td>电阻2</td>
                                        <td>PCH001</td>
                                        <td>2018-04-16</td>
                                        <td>99-12</td>
                                        <td>个</td>
                                        <td>380</td>
                                        <td><input type="number" name="" id="" value="" /></td>
                                        <td>-</td>
                                        <td><input type="text" name="" id="" value="" /></td>
                                    </tr>
                                    <tr class="listTableText list_list">
                                        <td>210010199</td>
                                        <td>电阻</td>
                                        <td>电阻1</td>
                                        <td>GG321</td>
                                        <td>电阻2</td>
                                        <td>PCH001</td>
                                        <td>2018-04-16</td>
                                        <td>99-12</td>
                                        <td>个</td>
                                        <td>380</td>
                                        <td><input type="number" name="" id="" value="" /></td>
                                        <td>-</td>
                                        <td><input type="text" name="" id="" value="" /></td>
                                    </tr>
                                    <tr class="listTableText list_list">
                                        <td>210010199</td>
                                        <td>电阻</td>
                                        <td>电阻1</td>
                                        <td>GG321</td>
                                        <td>电阻2</td>
                                        <td>PCH001</td>
                                        <td>2018-04-16</td>
                                        <td>99-12</td>
                                        <td>个</td>
                                        <td>380</td>
                                        <td><input type="number" name="" id="" value="" /></td>
                                        <td>-</td>
                                        <td><input type="text" name="" id="" value="" /></td>
                                    </tr>
                                    <tr class="listTableText list_list">
                                        <td>210010199</td>
                                        <td>电阻</td>
                                        <td>电阻1</td>
                                        <td>GG321</td>
                                        <td>电阻2</td>
                                        <td>PCH001</td>
                                        <td>2018-04-16</td>
                                        <td>99-12</td>
                                        <td>个</td>
                                        <td>380</td>
                                        <td><input type="number" name="" id="" value="" /></td>
                                        <td>-</td>
                                        <td><input type="text" name="" id="" value="" /></td>
                                    </tr>
                                    <tr class="listTableText list_list">
                                        <td>210010199</td>
                                        <td>电阻</td>
                                        <td>电阻1</td>
                                        <td>GG321</td>
                                        <td>电阻2</td>
                                        <td>PCH001</td>
                                        <td>2018-04-16</td>
                                        <td>99-12</td>
                                        <td>个</td>
                                        <td>380</td>
                                        <td><input type="number" name="" id="" value="" /></td>
                                        <td>-</td>
                                        <td><input type="text" name="" id="" value="" /></td>
                                    </tr>
                                    <tr class="listTableText list_list">
                                        <td>210010199</td>
                                        <td>电阻</td>
                                        <td>电阻1</td>
                                        <td>GG321</td>
                                        <td>电阻2</td>
                                        <td>PCH001</td>
                                        <td>2018-04-16</td>
                                        <td>99-12</td>
                                        <td>个</td>
                                        <td>380</td>
                                        <td><input type="number" name="" id="" value="" /></td>
                                        <td>-</td>
                                        <td><input type="text" name="" id="" value="" /></td>
                                    </tr>
                                    <tr class="listTableText list_list">
                                        <td>210010199</td>
                                        <td>电阻</td>
                                        <td>电阻1</td>
                                        <td>GG321</td>
                                        <td>电阻2</td>
                                        <td>PCH001</td>
                                        <td>2018-04-16</td>
                                        <td>99-12</td>
                                        <td>个</td>
                                        <td>380</td>
                                        <td><input type="number" name="" id="" value="" /></td>
                                        <td>-</td>
                                        <td><input type="text" name="" id="" value="" /></td>
                                    </tr>
                                    <tr class="listTableText list_list">
                                        <td>210010199</td>
                                        <td>电阻</td>
                                        <td>电阻1</td>
                                        <td>GG321</td>
                                        <td>电阻2</td>
                                        <td>PCH001</td>
                                        <td>2018-04-16</td>
                                        <td>99-12</td>
                                        <td>个</td>
                                        <td>380</td>
                                        <td><input type="number" name="" id="" value="" /></td>
                                        <td>-</td>
                                        <td><input type="text" name="" id="" value="" /></td>
                                    </tr>
                                </tbody>

                            </table>
                        </div>
	                    <!-- 页码区域 -->
	                    <div class="page_area contentText clear">
	                    	<div class="page_sum">
	                    		共<span class="page_number"> 3 </span>页&emsp;每页 15 条&emsp;共<span class="info_sum"> 27 </span>条记录
	                    	</div>
	                        <div class="page-pull-right async-page">
	                            <button>首页</button>
	                            <button>&lt;&lt;</button>
	                            <button class="select_page">1</button>
	                            <button>2</button>
	                            <button>3</button>
	                            <button>&gt;&gt;</button>
	                            <button>尾页</button>
	                        </div>
	                    </div>
                    </div>
                </div>
			</div>
			
			<!-- 版尾  -->
			<div class="ending">
				Copyright© 2017-2018 磐基技术有限公司
			</div>
		</div>
	</body>
	<script src="../../js/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../js/frame/common.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var h = document.documentElement.clientHeight;
		$(".wrap").css("height", h);
		
		// 获取每行 td 的兄弟节点
		$(".twocode td").hover(   
			function () {      
				$(this).parent().children().addClass("td_hover");
				$(this).append("<div class='twocode_hover'></div>");
			},    
			function () {      
				$(this).parent().children().removeClass("td_hover");  
				$(".twocode_hover").remove();
			}
		);
		
		
		//删除规则
	    function delUserGroup() {
			
	        var list = [];
	        var checks = $("input[name='ids']:checked");
	        $.each(checks, function(index, obj) {
	            list.push(obj.id);
	        });
	        if (!list.length > 0) {
	            alert("请选择要删除的内容");
	            return;
	        }
	        if (!confirm("确定要删除所选用户组吗？")) {
	            return;
	        }
	        alert("提醒:删除时，正在使用的用户组将无法删除！");
	        $.ajax({
	            type : 'POST',
	            url : 'userGroup/delUserGroup',
	            data : JSON.stringify(list),
	            contentType : 'application/json; charset=utf-8',
	            async : true,
	            cache : false,
	            success : function(data) {
	                alert(data == 'success' ? "删除成功" : "被使用：无法删除!!!");
	                if (data != 'success') {
	                    return;
	                }
	
	                var current = PageUtils._currentPage['userGroupPage'];
	                PageUtils.pageClick(current, 'userGroupPage');
	            }
	
	        });
	    }
	</script>
</html>
